Support new file mode