Get file from socket server