Private/Get-CurrentFileName.ps1

function Get-CurrentFileName {
    #Returns the name of the current PowerShell script file.
    $MyInvocation.ScriptName
}