added throwExcoptions optionand replaced tabs by spaces
replaced tabs by spaces
replaces tabs by spaces
added realpath adn replaces tabs
update unit test and replaced tabs
update documentation