$outputPath = "D:ServerUserCUSTMEADataInFilesCORRECTEDCUST_MEAFile.csv" $outputFile = Split-Path $outputPath -leaf