System.exit(1);}
// process last protein in the given file
counter++;
if (settings.getOutput() != null) {this.writer.writeCSVFile(header, seq);}
outputResults(filterHandler.preformFilters(header, seq), counter);
} catch (FileNotFoundException ex) {
System.err.println("The given file is not found");
} catch (IOException ex) {
System.err.println("IOException: " + ex.getLocalizedMessage());