Added new methods that
1. Checks whether file or directory exists or not
2. Deletes the entire directory with it's child contents.

And updated javadocs