directory listing

Get-ChildItem "." |  Foreach-Object {
    $name = $_.Name
    Write-Output "Processing $($name) file..."
}