added error handling for fasta files for step 8