Added stripping of gz to fn_to_db