Because we support both methods, finfo is used 8 lines higher if that's available, if only the depricated function is available we use that