changed method "readFile" - duble 2