slurp state from file