suppress calling file_for_provider multiple times just to get a nil
tempfile