Added implementation of listeners and observers to files and soforth