Pull times from a file and write to another

The flow you posted is corrupt, due to not following guide to posting code/flows..

In order to make code readable and usable it is necessary to surround your code with three backticks (also known as a left quote or backquote ```)

``` 
   code goes here 
```

You can edit and correct your post by clicking the pencil :pencil2: icon.

See this post for more details - How to share code or flow json

Also please supply the csv file in text format, you do not need to post the whole csv text the first 4-5 lines would be enough.

An example with limited csv data

[{"id":"63999ac0c1ecc5d5","type":"debug","z":"d1395164b4eec73e","name":"debug 265","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"payload","targetType":"msg","statusVal":"","statusType":"auto","x":670,"y":80,"wires":[]},{"id":"1a4a36bc8fda9e9c","type":"template","z":"d1395164b4eec73e","name":"","field":"payload","fieldType":"msg","format":"handlebars","syntax":"mustache","template":"{\"time\":[\"{{payload.fajr}}\",\"{{payload.sun}}\",\"date\":\"{{payload.date}}\"}","output":"str","x":500,"y":80,"wires":[["63999ac0c1ecc5d5"]]},{"id":"af97dd1eb36b36c8","type":"inject","z":"d1395164b4eec73e","name":"run yearly ","props":[{"p":"payload"},{"p":"topic","vt":"str"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","payload":"","payloadType":"date","x":140,"y":20,"wires":[["8792f21b0cabe252"]]},{"id":"8792f21b0cabe252","type":"template","z":"d1395164b4eec73e","name":"simulater csv file in output","field":"payload","fieldType":"msg","format":"handlebars","syntax":"mustache","template":"Calender Date,Fajr,Sun\n23.08.2024,05:01,07:02\n24.08.2024,05.23,07:34\n25.08.2024,05:45,07:45","output":"str","x":340,"y":20,"wires":[["2c8921423c576b68"]]},{"id":"2c8921423c576b68","type":"csv","z":"d1395164b4eec73e","name":"","sep":",","hdrin":false,"hdrout":"none","multi":"one","ret":"\\n","temp":"date,fajr,sun","skip":"1","strings":false,"include_empty_strings":"","include_null_values":"","x":530,"y":20,"wires":[["0a9078ed240fb210"]]},{"id":"0a9078ed240fb210","type":"change","z":"d1395164b4eec73e","name":"","rules":[{"t":"set","p":"parts.type","pt":"msg","to":"object","tot":"str"},{"t":"set","p":"parts.key","pt":"msg","to":"payload.date","tot":"msg"}],"action":"","property":"","from":"","to":"","reg":false,"x":680,"y":20,"wires":[["27a60f01181bf304"]]},{"id":"27a60f01181bf304","type":"join","z":"d1395164b4eec73e","name":"","mode":"auto","build":"object","property":"payload","propertyType":"msg","key":"topic","joiner":"\\n","joinerType":"str","accumulate":"false","timeout":"","count":"","reduceRight":false,"x":830,"y":20,"wires":[["2095f40f6ace247e"]]},{"id":"2095f40f6ace247e","type":"change","z":"d1395164b4eec73e","name":"","rules":[{"t":"set","p":"prayer_dates","pt":"flow","to":"payload","tot":"msg"}],"action":"","property":"","from":"","to":"","reg":false,"x":1000,"y":20,"wires":[[]]},{"id":"9e9a80858efdd5da","type":"inject","z":"d1395164b4eec73e","name":"run nightly","props":[{"p":"payload"},{"p":"topic","vt":"str"}],"repeat":"","crontab":"01 00 * * *","once":false,"onceDelay":0.1,"topic":"","payload":"","payloadType":"date","x":150,"y":80,"wires":[["cbdff60b23e58eed"]]},{"id":"cbdff60b23e58eed","type":"change","z":"d1395164b4eec73e","name":"","rules":[{"t":"set","p":"date","pt":"msg","to":"$moment().format(\"DD.MM.YYYY\")","tot":"jsonata"},{"t":"set","p":"payload","pt":"msg","to":"prayer_dates[msg.date]","tot":"flow"}],"action":"","property":"","from":"","to":"","reg":false,"x":320,"y":80,"wires":[["1a4a36bc8fda9e9c"]]}]