add new file mode index