# ReadText node behavior changed?

**URL:** <https://forum.dynamobim.com/t/readtext-node-behavior-changed/115275>\
**Category:** Uncategorized\
**Created:** [October 13, 2026, 1:28pm UTC](https://forum.dynamobim.com/t/readtext-node-behavior-changed/115275 "2026-10-13T13:28:02Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![m.guenthergeffers](https://avatars.discourse-cdn.com/v4/letter/m/919ad9/32.png) [@m.guenthergeffers](https://forum.dynamobim.com/u/m.guenthergeffers)\
**Post date:** [October 13, 2026, 1:28pm UTC](https://forum.dynamobim.com/t/readtext-node-behavior-changed/115275/1 "2026-10-13T13:28:03Z")

</div>

Hi all,

It seems that the behavior of the ReadText node has changed between Dynamo 3.6.0 to Dynamo 4.2.1. Was that change on intend, or is it a bug?

 ![read-text-behavior-change](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/4/1/417e3c5153f5e4322658ce2c6ef0f68fcf6a4e22.png)

Thanks,

GG (new account, not at home at the moment, and couldn’t find my old account info quickly…)

---

<div class="post-metadata">

**Author:** ![sovitek](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/sovitek/32/116237_2.png) [@sovitek](https://forum.dynamobim.com/u/sovitek)\
**Post date:** [October 13, 2026, 1:44pm UTC](https://forum.dynamobim.com/t/readtext-node-behavior-changed/115275/2 "2026-10-13T13:44:56Z")

</div>

Hi @m.guenthergeffers try with a File From Path node

---

<div class="post-metadata">

**Author:** ![m.guenthergeffers](https://avatars.discourse-cdn.com/v4/letter/m/919ad9/32.png) [@m.guenthergeffers](https://forum.dynamobim.com/u/m.guenthergeffers)\
**Post date:** [October 13, 2026, 1:54pm UTC](https://forum.dynamobim.com/t/readtext-node-behavior-changed/115275/3 "2026-10-13T13:54:51Z")

</div>

Thanks, @sovitek , but while this fixes the script, I would still like to know if this behavior change was on intend?

---

<div class="post-metadata">

**Author:** ![m.guenthergeffers](https://avatars.discourse-cdn.com/v4/letter/m/919ad9/32.png) [@m.guenthergeffers](https://forum.dynamobim.com/u/m.guenthergeffers)\
**Post date:** [October 13, 2026, 1:55pm UTC](https://forum.dynamobim.com/t/readtext-node-behavior-changed/115275/4 "2026-10-13T13:55:24Z")

</div>

(I will mark you post as solution once my question is answered 🙂 )

---

<div class="post-metadata">

**Author:** ![sovitek](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/sovitek/32/116237_2.png) [@sovitek](https://forum.dynamobim.com/u/sovitek)\
**Post date:** [October 13, 2026, 1:58pm UTC](https://forum.dynamobim.com/t/readtext-node-behavior-changed/115275/5 "2026-10-13T13:58:03Z")

</div>

yeah have been some changes there i guess, and for me it actuelly make sense as the node ask for the file and not as string (file path) but for System.IO.FileInfo (file)

---

<div class="post-metadata">

**Author:** ![john\_pierson](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/john_pierson/32/191977_2.png) [@john\_pierson](https://forum.dynamobim.com/u/john_pierson)\
**Post date:** [October 13, 2026, 2:12pm UTC](https://forum.dynamobim.com/t/readtext-node-behavior-changed/115275/6 "2026-10-13T14:12:53Z")

</div>

Hey @m.guenthergeffers, this one was on purpose.

`FileSystem.ReadText` used to have two versions under the hood. One takes a file object, which is what the `file` port has always asked for. The other took a string path and ran File From Path for you. That string version was marked obsolete all the way back in Dynamo 1.3.4, with a note to use File From Path \> ReadText instead.

In 4.0 the team cleaned out those long-obsolete nodes, and the string version of ReadText went with them: [https://github.com/DynamoDS/Dynamo/pull/16676](https://github.com/DynamoDS/Dynamo/pull/16676)

So your 3.6 graph was running on the old overload without telling you. In 4.x only the file version is left, which is why you now get the “expects System.IO.FileInfo, but was called with string” warning.

The fix is what @sovitek posted:

File Path \> File From Path \> FileSystem.ReadText

A few other old nodes went out in the same cleanup (`ReadImage` with a path input, `LoadImageFromPath`, the old `WriteImage` and `ExportToCSV`), so if you have older graphs using those, they will need the same kind of update.

---

<div class="post-metadata">

**Author:** ![m.guenthergeffers](https://avatars.discourse-cdn.com/v4/letter/m/919ad9/32.png) [@m.guenthergeffers](https://forum.dynamobim.com/u/m.guenthergeffers)\
**Post date:** [October 14, 2026, 5:14pm UTC](https://forum.dynamobim.com/t/readtext-node-behavior-changed/115275/7 "2026-10-14T17:14:50Z")

</div>

Thanks, @john_pierson , fair enough! 🙂
