Revert file mode