refactoring for paths on whitelist; makes almost unnecesary to mantain a separate sqlite path whitelisting framework