get specific content from a file and store it in a variable. So far I get that I can convert the file content into a string. But I\'m not sure how can I \'extract\' the content