Add functionality to load dates from file