File can find min and max dates