https://www.softwaretestinghelp.com/wp-content/qa/uploads/2018/10/write_data_to_file_output.png