private/Initialize-RecipeDbFile.ps1

function Initialize-RecipeDbFile {
    $dir = Get-RecipeDbDirectory
    if (-not (Test-Path $dir)) {
        New-Item -ItemType Directory -Path $dir -Force | Out-Null
    }

    if (-not (Test-Path $Script:RecipeDbPath)) {
        # Create an empty file so sqlite3 can open it.
        $null = New-Item -ItemType File -Path $Script:RecipeDbPath -Force
    }
}