Common code to download file, read it into a dataframe and calculate datetime.