add CMFile manager and lockclock