Remove unused files for rewrite