What is "$file". Is it a file object? How did you create it?
To get file contents you need to use "Get-Content"
File contents will be text and cannot be output to a CSV.
I recommend learning PowerShell before attempting to use it. You clearly do not understand how it works. You cannot learn PowerShell by guessing.
\_(ツ)_/