Update the way to download plugins when url is a file