compatibility with files uploaded with old uploader system