One more fix to check retrieve the fname.