use the text file as resource