started file observer refactoring

Signed-off-by: Christian Lüthold <biocodr@gmail.com>