throw an error if the user forgets to specify a file as first arg