FileTreeNode parentData = getDirData(parentTreeNode);
String newFileName = FileTreeUtils.allocateName(parentData.<DirInfoImpl>cast(), NEW_FILE_NAME);
FileInfoImpl newFile = FileInfoImpl.make().setSize("0");
newFile.<TreeNodeInfoImpl>cast().setNodeType(TreeNodeInfo.FILE_TYPE);
newFile.setName(newFileName);
handleNewNode(parentTreeNode, parentData, newFile.<FileTreeNode>cast());
}