Switch file watching to use event emitter