Added simple file preview in popup window