fixed migration; added cleanup
make download_url work with local files
use disk file to enforce caching of remote files