added return type for dates for fileManager