Use StringBuilder class to concatenate strings instead of String class, to improve performance of data input