add drop support for files
small cleanup