moved file creation into kafofy