some changes in file mode