Possible to check if a 0 byte file exists?

I know it is possible to check if a file exists using loadVars().
But what if the file is a text file for eg “file.txt” without any data in it?
Can I use actionscript to check if the file exists?