access lines of a file as a hash splitting at separator