Programmatic file update