fixed capital S in the regexp
open and read implementations