Ruby file parser and delimiter counter.