support reading mapping and query file from http