Write to file 'result' feature added