add whitelist.txt support