Modified the file creation system.