Update daemon.h

Implements use of the file class