Try using the 'List Directory' command under the File I/O, Advanced File Functions from the block diagram. This will output a list of filenames in a directory. Then use the 'Array Size' function to see if the directory is empty(array size >0). If true, then read you file. If false, then do nothing.