You have to write it yourself. You have to use the socket to open the path to that file and download it.