Fixed bug in filecsviterator