add filter of classes directory