Added FileAPI method readText.