add support to dump to file + skeleton for calendar