simple parser for some files