Programmatic file creation