changed findPostLag to accomidate if the lagtime is after the file