Using Streamlit with Databricks (dbutils)

I am creating a Streamlit app based on a code in Databricks. Part of my code needs to read a json file using:
mapping = json.loads(dbutils.fs.head(file_path,100000))
However when deploying the app I get the error:
ModuleNotFoundError: No module named ‘dbutils’. How can I get around this?