Replaced file lock with a dummy implementation.