Parse directory listing