Basic "Recipe" for implementing a method for emitting events via the file system