I have an application that opens several files.
It has to check if that file resides in the specified directory.
Also it has to check if there is any data in the file.
If not, it has to rise approprite messages. How can I accomplish this?

thanks for any suggestions