changed file detection method