Hi All,
This is the content of the file say 'input.txt'
apple (
ball (
cat (
doctor(),
elephant()
),
cup (
dead()
)
));
As you can see its in a very haphazard manner, which is a big problem, but if you indent it properly it looks something like this
apple(
ball(
cat (...