adding the path to be tmp in the file download and read