integrating the photos file