added in string utility of reading resource