Updated/extended fileupload replacer.