Adding the string from file method