stuff in download_file_local editable to use during population