leave view file