public function getAbsolutePath()
    {
        if (!$this->isAbsolute()) {
            $filepath = stream_resolve_include_path($this->getPathname());
        } else {
            $filepath = realpath($this->getPathname());
        }
        return $filepath;
    }