Tests for _ - and ~ in file names.
I think this comment said the opposite of what it meant. :-)
Fix merging error.