added filetransfer plugin, added promise based file download