Clean the view file