# Read Text File action partially executes AfterAction script when file not found

**URL:** https://www.finalbuilder.com/forums/t/read-text-file-action-partially-executes-afteraction-script-when-file-not-found/3491
**Category:** Bugs
**Created:** [May 20, 2013, 1:00am UTC](https://www.finalbuilder.com/forums/t/read-text-file-action-partially-executes-afteraction-script-when-file-not-found/3491 "2013-05-20T01:00:37Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![deleted\_user](https://www.finalbuilder.com/forums/user_avatar/www.finalbuilder.com/deleted_user/32/937_2.png) [@deleted\_user](https://www.finalbuilder.com/forums/u/deleted_user)
#### Post date: [May 20, 2013, 1:00am UTC](https://www.finalbuilder.com/forums/t/read-text-file-action-partially-executes-afteraction-script-when-file-not-found/3491/1 "2013-05-20T01:00:37Z")

</div>

Hello!   
  
 When “Read Text File” fails to open a file (if the file does not exist), it stops the build - all good there. I have an MsgBox call in AfterAction script, which gets executed, but not any further lines below. Is this normal?!   
  
 Regards, Dan

---

<div class="post-metadata">

### Author: ![deleted\_user](https://www.finalbuilder.com/forums/user_avatar/www.finalbuilder.com/deleted_user/32/937_2.png) [@deleted\_user](https://www.finalbuilder.com/forums/u/deleted_user)
#### Post date: [May 20, 2013, 1:02am UTC](https://www.finalbuilder.com/forums/t/read-text-file-action-partially-executes-afteraction-script-when-file-not-found/3491/2 "2013-05-20T01:02:56Z")

</div>

Never mind; all that was happening that the .Echo calls weren’t being displayed if file was not found.
