fixing the web UI to parse new file format