start using CreateFile instead of LockFileEx