Refactor | Beverly | extract method formattedOutput, add data.txt