src/Codeception/Module/WPFilesystem.php
public function openUploadedFile($filename, $date = null)
    {
        $this->openFile($this->getUploadsPath($filename, $date));
    }
public function openUploadedFile($filename, $date = null)
    {
        $this->openFile($this->getUploadsPath($filename, $date));
    }
public function openUploadedFile ( $ filename , $ date = null ) { $ this -> openFile ( $ this -> getUploadsPath ( $ filename , $ date ) ) ; }
Opens a file in the the uploads folder.

The date argument can be a string compatible with `strtotime` or a Unix
timestamp that will be used to build the `Y/m` uploads subfolder path.

@example
``` php
$I->openUploadedFile('some-file.txt');
$I->openUploadedFile('some-file.txt', 'time');
```

@param  string $filename The path to the file, relative to the current uploads folder.
@param  string|int|\DateTime $date The date of the uploads to delete, will default to `now`.
Opens a file in the the uploads folder .