Text this: Optical sensing by exposed core fiber using self-written waveguide