public function checkFileSize($fileName, $fileSize)
    {
        $this->inCurrentDir(function() use ($fileName, $fileSize) {
            if (filesize($fileName) !== $fileSize) {
                throw new ExpectationException("Size of $fileName not equals $fileSize");
            }
        });
    }