public function size():int
    {
        if ($this->file == null) {
            throw new Server500(new \ArrayObject(array("explain" =>
                "Cannot get size for unopened file",
                "solution" =>
                    "Please open the file with [FileListener::open] before trying to get the size.")));
        }
        return (filesize($this->filepath));
    }