cleanup dir and remove deprecated files and incomplete drafts.