Adding a new lock factory that uses files