removed cout from read files