fixed from_native delegation when it accepts files