Text this: Implementation of passive and active filter for harmonic mitigation