Add preview for files