1# File Management Subsystem Changelog
2## cl.filemanagement.1 Change the Filter Type from systemapi to publicapi
3
4Changed the **Filter** type in @ohos.file.fs from **systemapi** to **publicapi**.
5
6**Change Impact**
7The compatibility is changed, and there is no impact of the change. Third-party applications can use the **Filter** type.
8
9## cl.filemanagement.2 Change of Watcher APIs from systemapi to publicapi
10
11Changed Watcher-related APIs in @ohos.file.fs from **systemapi** to **publicapi**.
12
13Watcher-related APIs are as follows:
14
15| API| Description|
16|------|---------|
17| **function** createWatcher(path: string, events: number, listener: WatchEventListener): Watcher | Creates a **Watcher** object to observe file or directory changes.    |
18| **interface** WatchEventListener                | Event listening class.    |
19| **interface** WatchEvent                | Event class.    |
20| **property** WatchEvent.fileName                | Name of the file for which the event occurs.    |
21| **property** WatchEvent.event                        | Events to observe.    |
22| **property** WatchEvent.cookie                | Cookie bound with the event.    |
23| **interface** Watcher              | File or directory object whose changes are observed.    |
24| **function** Watcher.start(): void                | Starts listening.    |
25| **function** Watcher.stop(): void                 | Stops listening.    |
26
27**Change Impact**
28The compatibility is changed, and there is no impact of the change. Third-party applications can use the capability of file listening.
29