Revert file mode.