You could also treat \ as a separator on all platforms. We do that in the rest of this class. Then let someone (else) "fix" whole class (that will be messy...). 

[Deity of your choice] forbid anyone thinks \ is a good character in a name of anything on Linux.