Indeed, this is exactly what the Linux kernel does; it treats filenames like a binary blob, with the exception that the bytes 0x2f (ASCII &#x27;&#x2F;&#x27;) and 0x00 (ASCII NUL) are not accepted (regardless of where they are in the byte string).