For Gautam to review

Changes to handle uploading of xmi files. Quick hack to get them to upload.