long length)
throws Exception {
setServiceContext(fileName);
FileEntry fileEntry = DLAppLocalServiceUtil.addFileEntry(
userId, groupId, parentFolderId, fileName,
MimeTypesUtil.getContentType(fileName),
FileUtil.stripExtension(fileName), StringPool.BLANK,
StringPool.BLANK, inputStream, length, serviceContext);