made function for downloading file at a certain path