File listener

This solves the bug of not recording file changes for files that are not open and the initial content of new resources