Fix 'view file' now works