# Read data from a .txt-file with 'file in'-node

**URL:** https://discourse.nodered.org/t/read-data-from-a-txt-file-with-file-in-node/2786
**Category:** General
**Created:** [2 September 2018 20:51 UTC](https://discourse.nodered.org/t/read-data-from-a-txt-file-with-file-in-node/2786 "2018-09-02T20:51:10Z")
**Posts on this page:** 1
**Showing post:** 3

<div class="post-metadata">

### Author: ![ukmoose](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/ukmoose/32/13_2.png) [@ukmoose](https://discourse.nodered.org/u/ukmoose)
#### Post date: [2 September 2018 21:11 UTC](https://discourse.nodered.org/t/read-data-from-a-txt-file-with-file-in-node/2786/3 "2018-09-02T21:11:22Z")

</div>

put some more debug nodes into your flow to see what messages are being passed.

From the screenshot it looks like you have hard coded to file name in the file node. If you read the info panel for the file node it will tell you where the file name needs to be. you will need a change node to move the file name to the correct place

---

_[View the full topic](https://discourse.nodered.org/t/read-data-from-a-txt-file-with-file-in-node/2786)._
