original_string: public function load($path = self::DEFAULT_FILENAME)
  	{
  		$file = new File($path);
  
  		if (($data = json_decode($file->read(), true)) === null) {
  			throw new \UnexpectedValueException('Invalid JSON.');
  		}
  
  		$this->data = (array) $data;
  
  		return $this;
  	}
code: public function load($path = self::DEFAULT_FILENAME)
  	{
  		$file = new File($path);
  
  		if (($data = json_decode($file->read(), true)) === null) {
  			throw new \UnexpectedValueException('Invalid JSON.');
  		}
  
  		$this->data = (array) $data;
  
  		return $this;
  	}
code_tokens: public function load ( $ path = self :: DEFAULT_FILENAME ) { $ file = new File ( $ path ) ; if ( ( $ data = json_decode ( $ file -> read ( ) , true ) ) === null ) { throw new \ UnexpectedValueException ( 'Invalid JSON.' ) ; } $ this -> data = ( array ) $ data ; return $ this ; }
docstring: Load the settings file from the given location.
  
  @param $path = self::DEFAULT_FILENAME
  @return $this
  @throws FileException on failure.
  @throws \UnexpectedValueException on failure.
docstring_tokens: Load the settings file from the given location .