add file mode skeleton