Added a function to read text files from the .jar