Fiber senor for long-range and biomedical measurements