add result.txt which contains console contents