'Return a FakeDownloadItem instance with a fileobj.
The content is copied from the file the given url links to.'

def get(self, url, target, **kwargs):

    download_item = FakeDownloadItem(target.fileobj, name=url.path())
    with open(url.path(), 'rb') as fake_url_file:
        shutil.copyfileobj(fake_url_file, download_item.fileobj)
    return download_item
