To maintain multiple file replicas to be consistent using static voting protocol with mutual exclusive read and write operation in distributed systems along with automated test code in Java.