Correspond rake file with photo model