Upgrading files to new format