Printing file name in the figure of plot

Hi all,
I have a data file named as 230620.log. It means 20th june, 2023. In my code I plotted the figures. Now I want to print the file name also into the figure so that i can understand the data belongs to which date ?

Could you give me idea ?

Thank you,

I (for one) am a little confused about what it is that you’re trying to do?

Maybe you could provide some Python code and some idea about the results (or output) that you’re looking for. That way, you’re more likely to get the help that you’re looking for.

My file names are like 230620.log, 230621.log…so on. the first data is of 20th june, 2023…and the rest follows. Now when i am doing the plots i am drawing 8 figures from data of 20/06/23 , 8 figures from from 21/06/23 and so on. I want to mention the date of which the data belong into the plots. I can do that manually but typing into the title but i am trying to print it in figure automatically.

I am attaching one figure.

Here i have to print the date of data taking by manually. I am trying to print it using program.