fix file names
close reader
split lines