Rename files to hash and resolution