Nanofibers - fabrication and light propagation