$dirname = f::dirname('/var/www/test.txt'); dirname is /var/www
public static function dirname($file) { return dirname($file); }