Code for conditional file download

only download the file if the file does not exists