Move the restoration of .bak files when downloading files earlier