Added a file observer, and further file manipulation