Working! Tested on a pdf and it worked.
Next:
    Server side name of file checking. Remove "\/" chars to get only the
        relevant part of the file name. If the file is
        /home/stephen/test.txt all we want is test.txt
    Instead of dumping to the screen switch it to logging to files.
    Put loggers on their own threads.
Log everything!