moving attributes back to files