clean up file creation