Deal with double quotes and spaces in doc name