Trim all strings which come fron the textfile.