remove unnecessary foundation files