support new file mode
support deleted file mode