Fixes #4868 - Add possibility to monitor a file except if absent

Fixes #4868 - Add possibility to monitor a file except if absent