<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def del_kwnkb(mapper, connection, target):
 """Remove taxonomy file."""

    if(target.kbtype == KnwKB.KNWKB_TYPES['taxonomy']):
        # Delete taxonomy file
        if os.path.isfile(target.get_filename()):
            os.remove(target.get_filename())