public function getURL($grant = true)
    {
        if ($this->File->exists()) {
            return $this->File->getURL($grant);
        }
        return null;
    }
public function getURL($grant = true)
    {
        if ($this->File->exists()) {
            return $this->File->getURL($grant);
        }
        return null;
    }
public function getURL ( $ grant = true ) { if ( $ this -> File -> exists ( ) ) { return $ this -> File -> getURL ( $ grant ) ; } return null ; }
Gets the URL of this file

@uses Director::baseURL()
@param bool $grant Ensures that the url for any protected assets is granted for the current user.
@return string
Gets the URL of this file