Adding readFile function, fixing indentation to make it the same everywhere.