Abstracted action from FolderObserver.
This makes the FolderObserver cleaner (it only observes) and allows it to be used for other things as well. For example,
observing the photo folder.