Check that the file exists and bail out if not