Only accept filenames in daemon