US retail giant Wal-Mart has said it has filed a petition with the Superior Court of California, challenging Alameda County's ban on large retail stores.