}
public void process(File file, Storage storage) throws IOException, JAXBException {
JAXBContext jc = JAXBContext.newInstance("gov.nysenate.openleg.xml.calendar");
Unmarshaller u = jc.createUnmarshaller();
XMLSENATEDATA senateData = (XMLSENATEDATA)u.unmarshal( new FileReader(file) );
modifiedDate = null;
try {
modifiedDate = sobiDateFormat.parse(file.getName());
} catch (ParseException e) {
logger.error("Error parsing file date.", e);
}
ChangeLogger.setContext(file, modifiedDate);
for(Object obj:senateData.getSencalendarOrSencalendaractive()) {
Calendar calendar = null;
String action = null;
Supplemental supplemental = null;