Create readQuery.js