Check for file existence instead of length