Read whitelist/greylist from files and compare to db

Change-Id: I616ea7bb4b4d61bf95184b9e34ccfcb929dcc0b1