validate file existence c++ style, no long fseek