private void importFile(File file, String onlyLatestVersions, String standardReplacement, String replacements, ProcessBean processBean) throws Exception
{
Timer t = new Timer();
processBean.setStatus(ProcessBean.RUNNING);
CompressionHelper ch = new CompressionHelper();
String extractFolder = CmsPropertyHandler.getDigitalAssetUploadPath() + File.separator + "ImportArchive_" + System.currentTimeMillis();
logger.info("Extracting " + file.getPath() + " to " + extractFolder);
File importFolder = new File(extractFolder);
importFolder.mkdir();
ch.unzip(file, importFolder);
processBean.updateProcess("Unzip of archive took " + (t.getElapsedTime() / 1000) + " seconds");
try
{