Added daemon option to file monitor mode
Added daemon option to file monitor mode