Module to extract specified portion of txt from a txt file