$filename = f::filename('/var/www/test.txt'); filename is test.txt
public static function filename($name) { return pathinfo($name, PATHINFO_BASENAME); }