binary files parsing by lines