calls into lib
file monitoring wip