Handle hash character in file names