allow resuming of broken file transfers (needs testing)