replaced filewatcher lib