added filename to error message for failing to find key