added selectable file preview