I needed to test a user-input string to determine if it resembled a valid file name or path.
I