original_string: public function save($path = self::DEFAULT_FILENAME)
  	{
  		$file = new File($path);
  
  		$file->write(json_encode($this->data));
  
  		return $this;
  	}
code: public function save($path = self::DEFAULT_FILENAME)
  	{
  		$file = new File($path);
  
  		$file->write(json_encode($this->data));
  
  		return $this;
  	}
code_tokens: public function save ( $ path = self :: DEFAULT_FILENAME ) { $ file = new File ( $ path ) ; $ file -> write ( json_encode ( $ this -> data ) ) ; return $ this ; }
docstring: Save the settings file at the given location.
  
  @param $path = self::DEFAULT_FILENAME
  @return $this
  @throws FileException on failure.
docstring_tokens: Save the settings file at the given location .