clearing old files of content prior to refilling