moved file creation into kafofy

fixed typo

removed duplicate constant, fixed static config dump