handling file uploads and conversion, drag and drop