added support for dropping files to open