A planar lightwave circuit (PLC) (1; 20) comprises an optical device,
where the optical device comprises at least one piece of waveguide
structure (5; 24), in particular one piece of fiber, which has at least
one thin film layer deposited on an end facet (9; 28). Thus, a thin film
filter can be integrated in a PLC with minimized insertion loss and high
mechanical stability for athermalization.