Can we check for extension here and return early if it doesn't match, as we do in some other of these methods?