added filedrop mode for uploading files