Remove foundation files that are not needed