$filename = $fn if (ref($filename));