Retrieve Plot using Filename

Is there anyway to use a filename and find the file ID for the corresponding plot (hosted on plotly)?
I can’t figure out how to use the get_figure() method using only a filename.
I saw an issue posted by chris 2 years ago but wasn’t able to find any resolution