addTrim() for reading from txt