parsing adapted to multiple hashes per line