add Drag and Drop API and File API function