notebook_name = dbutils.notebook.entry_point.getDbutils().notebook().getContext().notebookPath().get()
file_name = dbutils.widgets.get("file_name")
File metadata column | Databricks on AWS
Solved: Re: Get file information while using "Trigger jobs... - Databricks Community - 5127