Add daemon support
Only accept filenames in daemon
Added check to verify that file exists when input is given on standard in.  If not, print an error message