testing file generation