Write file of contigs that do not match reference
Write file of contigs that do not match reference
remove debugging print
Close files properly to remove warnings