final public function openFile($filename, $use_include_path = false)
	{
		$this->getPathInfo($filename, $use_include_path);
		$this->fileResource = fopen(
			$this->dirname . DIRECTORY_SEPARATOR . $this->basename,
			self::FILE_MODE
		);
		return flock($this->fileResource, LOCK_EX);
	}
final public function openFile($filename, $use_include_path = false)
	{
		$this->getPathInfo($filename, $use_include_path);
		$this->fileResource = fopen(
			$this->dirname . DIRECTORY_SEPARATOR . $this->basename,
			self::FILE_MODE
		);
		return flock($this->fileResource, LOCK_EX);
	}
final public function openFile ( $ filename , $ use_include_path = false ) { $ this -> getPathInfo ( $ filename , $ use_include_path ) ; $ this -> fileResource = fopen ( $ this -> dirname . DIRECTORY_SEPARATOR . $ this -> basename , self :: FILE_MODE ) ; return flock ( $ this -> fileResource , LOCK_EX ) ; }
Opens the file in the specified mode designating read, write, create
capabilities. Obtains exclusive lock on file, which is released when class
is destroyed.

@param string $filename         Name/path of file to be working with
@param bool   $use_include_path If you want to search for the file in the include_path
@return bool  Whether or not lock was able to be obtained.
Opens the file in the specified mode designating read write create capabilities . Obtains exclusive lock on file which is released when class is destroyed .