changed the file mode