corrected no timeout stuff and it now checks if the file is already downloaded