which outputs the filename with "\\)" appended (two backslashes). I could understand if it output no backslashes or one backslash, but why does it produce two backslashes?
It is confusing me a little, I don't think the syntax is properly correct here. But I have all the functionality I want now, so (although it goes against a lot of my principles as a programmer) I'm just going to ignore it all