Added more text parsing functionality for c and java files