Addded new method to read entire text file to the Library