Refactored attachPhotoFileToRecipe method.