dim Filename as string = "C:\Users\Sony\Desktop\Readme.txt"
dim FileInfo as new fileinfo(filename)
fileinfo = nothing
But you can get more information from the full filename such as:
1. Creation time
2. If the file exists
4. Last Accesstimes and Writetimes
This is what I would call better file based.