Add file locks.