Fixed the error with match_and_write, chose not to create feature reports by
default, replaced another "for" loop with open(file) by "with"