*/
private AbstractComponent processFile(File file,
AbstractComponent importParentComponent) {
try {
// Unmarshal data from file
ComponentListType compList = XMLPersistence.unmarshal(file);
allComponents = new ArrayList<Component>();
badReferences = new ArrayList<String>();
unimportableComps = new ArrayList<String>();
if (compList != null && compList.getComponent().size() > 0) {
// Create component with XML file name
AbstractComponent fileComp = makeFileComponent(file,
importParentComponent);
// Create components of data from file
List<AbstractComponent> comps = convertComponents(compList);