Added minor error handling - non-txt files, no files submitted