Couldn't find good solution to the excaping problem where there is spaces in directory name.