added a fileobserver and improved moving and copying files