Kill unused folder function.

This function isn’t used anywhere and isn’t right anymore — kill it.