adapted view.php for better visualisation of long filenames in view.php