use absolute path for query fil