adding in final output txt file