Fixes read file function

- Read file function now refers to internal filename.
- Read file function also displays when the file has finished reading.