There are several ways to access workbook metadata associated with imported files, within the graphical user interface (GUI):
If a file has been imported into the workbook, you can right-click on the title bar and choose Show Organizer from the shortcut menu. You can see the metadata saved in two areas:
For more information, see Inserting Graphs, Images and Other Objects into Worksheet Cells.
For more details, please see documentation for the X-Function insertVar.
To insert a variable into a label object (text object or graph legend object):
For more information, see Inserting Variables Extracted from Imported ASCII Files into Text Labels in the "Graphing" chapter under "Adding Text and Drawing Objects: Advanced Concepts Constants Variables Scripts".