Text this: Characterization of fiber optic sensor for liquid refractive index monitoring