File monitoring library for java