The other `f` function calls the callback at this point, but this one (for 'application/pdf' files) does not. Is it not supposed to?