implemented overwrite file(delete previous comments in a submission)