Error if no file given