protected function getFile() {
		if ($this->file === null) {
			$path = $this->getFilePath();

			if (! is_file($path)) {
				throw new NoPath('Unable to locate the file: ' . $path);
			}

			$file = fopen($path, 'r');

			if ($file === false) {
				throw new NoPath('Unable to open the file: ' . $path);
			}
		}
		
		return $file;
	}
protected function getFile() {
		if ($this->file === null) {
			$path = $this->getFilePath();

			if (! is_file($path)) {
				throw new NoPath('Unable to locate the file: ' . $path);
			}

			$file = fopen($path, 'r');

			if ($file === false) {
				throw new NoPath('Unable to open the file: ' . $path);
			}
		}
		
		return $file;
	}
protected function getFile ( ) { if ( $ this -> file === null ) { $ path = $ this -> getFilePath ( ) ; if ( ! is_file ( $ path ) ) { throw new NoPath ( 'Unable to locate the file: ' . $ path ) ; } $ file = fopen ( $ path , 'r' ) ; if ( $ file === false ) { throw new NoPath ( 'Unable to open the file: ' . $ path ) ; } } return $ file ; }
Get an opened file

@return resource
@throws NoPath
Get an opened file