read response from file