Hmm ok, then it's better to switch lines with `instanceof`... because `is_file` will fail when no string is supplied