log file to determine the photopath