Throw an error if you don't pass in a filename