'Get information about the part (file) that exists at pos in
the raw markup'

def get_file_info(self, pos):

    for part in self.partinfo:
        if ((pos >= part.start) and (pos < part.end)):
            return part
    return Part(*repeat(None, len(Part._fields)))
