protected function getFileName()
    {
        if (!$this->fileName) {
            $this->fileName = preg_replace('/\W/', '.', get_class($this)) . '.json';
        }
        return codecept_data_dir() . $this->fileName;
    }
protected function getFileName()
    {
        if (!$this->fileName) {
            $this->fileName = preg_replace('/\W/', '.', get_class($this)) . '.json';
        }
        return codecept_data_dir() . $this->fileName;
    }
protected function getFileName ( ) { if ( ! $ this -> fileName ) { $ this -> fileName = preg_replace ( '/\W/' , '.' , get_class ( $ this ) ) . '.json' ; } return codecept_data_dir ( ) . $ this -> fileName ; }
If no filename is defined, generates one from class name

@return string
If no filename is defined generates one from class name