protected function loadFile($filePath)
	{
		if (!file_exists($filePath) || !is_readable($filePath))
		{
			throw new \UnexpectedValueException(sprintf('Unable to open the "%s" file', $filePath));
		}
			
		$key = @file_get_contents($filePath);
			
		if (!is_string($key) || 0 === strlen($key))
		{
			throw new \UnexpectedValueException(sprintf('File "%s" appears to be empty', $filePath));
		}
		
		return $key;
	}
protected function loadFile($filePath)
	{
		if (!file_exists($filePath) || !is_readable($filePath))
		{
			throw new \UnexpectedValueException(sprintf('Unable to open the "%s" file', $filePath));
		}
			
		$key = @file_get_contents($filePath);
			
		if (!is_string($key) || 0 === strlen($key))
		{
			throw new \UnexpectedValueException(sprintf('File "%s" appears to be empty', $filePath));
		}
		
		return $key;
	}
protected function loadFile ( $ filePath ) { if ( ! file_exists ( $ filePath ) || ! is_readable ( $ filePath ) ) { throw new \ UnexpectedValueException ( sprintf ( 'Unable to open the "%s" file' , $ filePath ) ) ; } $ key = @ file_get_contents ( $ filePath ) ; if ( ! is_string ( $ key ) || 0 === strlen ( $ key ) ) { throw new \ UnexpectedValueException ( sprintf ( 'File "%s" appears to be empty' , $ filePath ) ) ; } return $ key ; }
Loads a key from a specified file location.

@param	string						$filePath	Location of the key to be loaded
@throws	\UnexpectedValueException				Thrown if the file cannot be loaded or is empty
@return	string|bool								False on failure, the key as a string otherwise
Loads a key from a specified file location .