Load the text file contents from disk if cache is enabled.