network files and daemon function