File bagitPath = uploadFiles[0];
File dataPath = new File(bagitPath, "data");
try{
CitationParser cparser= new CitationParser(dataPath);
Citation citation = cparser.getCitation();
Study study = new Study();
//study.setName(bagitPath.getName());
study.setName(citation.getTitle());
study.setCitation(citation);
citation.setStudy(study);
study.setNotes(bagitPath.getName() +
": Please enter these author names into the TreeBASE citation " +
"by clicking on the highlighted \"Authors\" item in the Tool Box." +
"\n\n" + citation.getAuthorsDryadNotes());
citation.setAuthors(null);
Submission submission = mSubmissionService.createSubmission(user, study);
long unixTime = System.currentTimeMillis() / 1000L;