Fixing preRender for empty file fields.