def dbh__text(path, contenttype, extension, roottag, nsurl):
    """ Generic Text Handler - Returns text_generic for all text files """
    if contenttype.startswith('text') or contenttype.startswith(
        'application/xml') or contenttype.startswith('text/xml'):
        return 'db_plain_text_file'
    else:
        return False
