reads target file
finds target substring in file