read_txt function

Read plain text file