Removed unused file lock functionality