loadTXT apporach