support quotes and spaces in file names