Features are correctly being extracted and written to file