Adding tempFile.go file to use a temporary file to do the text heavy lifting and then remove the file by using defer file.Close()