delete folder foundation and file _index