Conventionally a line defect in the photonic crystal (PhC) is used to create a waveguide for light propagation through the PhC. A PhC based filter is designed by introducing micro-cavities within the line defect so as to form the resonant bandgap structur