High resolution spectroscopy using fiber lasers