Update convertToText.php script

Change-Id: I9758d545229a38f195766a6ce83e2b2a5784c1e1
Merge "Update convertToText.php script"