Add a class for monitoring changes in files