A gopher URL looks like: gopher://host/Xfile
Where X isn't part of the path name, it's one-character file type code. This code is client-side only and determine how the client downloads and interprets the file. Gopher has 2 separate ways of sending files - Binary files are sent as-is. Text/Menu files are sent line-oriented, with a CRLF after each line and a trailing . CR LF at the end. Again, the type code is on the client side and is not sent to the server.