Added exception handling for readFile