Tests for _ - and ~ in file names.