Removed rewrite and index files that are not needed.