Fix to ensure that if the user no files, they get an error message