readFile client side, handle small caps