delete old version foundation files