read pids state from file