removed reliance on rails for the line parser
better comment
added generic parser for new sample name format