PhotoRegenerator single file verion
endTime <- runTime in TimingTest