Using a StringBuilder here would be more efficient.