Welcome to the forum @Mr.816.
Please see this post on how to post flows here so that they are importable.
Please also connect a debug node showing what is going into the csv node, if you are using one, or into the file node otherwise.