modules to handle file and module change events