Changed the port to 5555, sudo is no longer necessary.
Using the --mime-type option of the system file command
instead of my own mime script. It's probably better?