I want to show a file in an AppleScript bundle, but shell returns: file not found My Bundle File: reference.txt

My Code: 

set bashFile to path to resource "reference.txt"
set the reference_data to do shell script "type " &amp; quoted form of (POSIX path of bashFile)
display dialog reference_data


shell returns: 

type: file not found (but the file exists)


How i can show this file on a dialog (or in TextEdit)?
The type shell builtin is used to see how it's arguments would be interpreted as a command.

Try replacing type with cat and see if that does what you expect.