The design of fiber optic filters