Use socket.io to retrieve file list