Prac6 Completion of file writing steps
Signed-off-by:Arie <arieclaassens@gmail.com>