Dynamic file viewer for images, textes, office documents