edit file and place my solution in the file