add file mode