revert file mode.