Changed return type of method getCalendarData(File f) to Calendar