changing file structure for photos