Utility methods to read from file and other minor improvements.
cocos2d-x runtime!