Revert "add file unit"

This reverts commit e5e8a6cd3f3e53d5b8bcc3c3e8455e2739e9ed73.