Ensure argument is a file and not a directory