[file upload] added 'add folder', improved performance