deleting before rendering only content files since resources should be up to date and can be big