public function deleteFile($filename)
    {
        if (!file_exists($this->absolutizePath($filename))) {
            \PHPUnit\Framework\Assert::fail('file not found');
        }
        unlink($this->absolutizePath($filename));
    }
public function deleteFile($filename)
    {
        if (!file_exists($this->absolutizePath($filename))) {
            \PHPUnit\Framework\Assert::fail('file not found');
        }
        unlink($this->absolutizePath($filename));
    }
public function deleteFile ( $ filename ) { if ( ! file_exists ( $ this -> absolutizePath ( $ filename ) ) ) { \ PHPUnit \ Framework \ Assert :: fail ( 'file not found' ) ; } unlink ( $ this -> absolutizePath ( $ filename ) ) ; }
Deletes a file

``` php
<?php
$I->deleteFile('composer.lock');
?>
```

@param string $filename
Deletes a file