consolidate file creation