Basic file creation functionality.