closing pre to restore file as phtml