Write results out to a txt file for downstream processing.
Write results out to a txt file for downstream processing.