'Do per-file reading/parsing/consuming for the file path passed in.'

def _ProcessFile(self, path):

    assert path
    (frame, file) = OpenFileForRead(path, 'SITEMAP')
    if (not file):
        return
    try:
        self._current = (-1)
        xml.sax.parse(file, self)
    except SchemaError:
        output.Error(('An    error    in    file    "%s"    made    us    abort    reading    the    Sitemap.' % path))
    except IOError:
        output.Error(('Cannot    read    from    file    "%s"' % path))
    except xml.sax._exceptions.SAXParseException as e:
        output.Error(('XML    error    in    the    file    "%s"    (line    %d,    column    %d):    %s' % (path, e._linenum, e._colnum, e.getMessage())))
    file.close()
    if frame:
        frame.close()
