Updates to txt utils