add file preview when received file