trying to parse data files on browser