added cwd() method to utilsDirFile class and few small fixes