Fixing currentDirectory pointing to root drive. It now is the directory name.