* Extra safety check in "readTextFile" to prevent crashing.