trim("."); if ($filename->isEmpty()) { continue; } require_once (string) $filename; }