public function openFile($filename)
    {
        $this->file = file_get_contents($this->absolutizePath($filename));
        $this->filepath = $filename;
    }
public function openFile($filename)
    {
        $this->file = file_get_contents($this->absolutizePath($filename));
        $this->filepath = $filename;
    }
public function openFile ( $ filename ) { $ this -> file = file_get_contents ( $ this -> absolutizePath ( $ filename ) ) ; $ this -> filepath = $ filename ; }
Opens a file and stores it's content.

Usage:

``` php
<?php
$I->openFile('composer.json');
$I->seeInThisFile('codeception/codeception');
?>
```

@param string $filename
Opens a file and stores it s content .