if (skip)
continue;
Map<String, Object> fileMap = fileAsset.getMap();
Identifier ident = APILocator.getIdentifierAPI().find(
fileAsset.getVersionId());
fileMap.put("wfMandatoryWorkflow", wfScheme!=null && wfScheme.isMandatory());
fileMap.put("permissions", permissions);
fileMap.put("mimeType", APILocator.getFileAPI()
.getMimeType(fileAsset.getFileName()));
fileMap.put("name", ident.getAssetName());
fileMap.put("fileName", ident.getAssetName());
fileMap.put("title", fileAsset.getFriendlyName());
fileMap.put("description", fileAsset instanceof Contentlet ?
((Contentlet)fileAsset).getStringProperty(FileAssetAPI.DESCRIPTION)
: "");
fileMap.put("extension", UtilMethods