testing file creation for generator