better handle special character in file names