public static void fromFile(final java.io.File file, final Node parent,
final User editor) throws Exception {
if (Filenames.asContentType(file.getName()).equals("application/zip")) {
final StringBuilder errors = new StringBuilder();
Zipfiles.unzip(file, new EntryHandler() {
public void process(String path, String entryName,
InputStream inputStream) throws Exception {
try {
if (Validations.isNotEmpty(path)) {
makeFolders(parent, path, editor);