Core File Kit provides capabilities for accessing and managing application files and user files. You can use the APIs provided by Core File Kit to manage, search for, and back up different types of files efficiently.
In Core File Kit, the files are classified into the following types based on the file owner:
Application files: files of an application, including the installation files, resource files, and cache files of the application.
User files: files of a user who has logged in to the device. User files include the user's images, videos, audio clips, and documents.
System files: files irrelevant to applications and users. System files include public libraries, device files, and system resource files. The system files do not need to be managed by developers and are not described in this document.
The file systems can be classified into the following types based on the file storage location (location of the data source):
Local file system: allows access to the files stored on a device and its external storage devices (such as USB flash drives and removable hard drives). The local file system is the most basic file system and is not described in this document.
Distributed file system: allows access to files across devices, which include not only the local device and its external storage devices, but also the devices connected over a computer network.
Device-cloud file sync: provides a unified file system that integrates device and cloud capabilities, delivering a consistent file synchronization and cross-device access experience for users and applications.
Figure 1 File classification model

Core File Kit provides high-performance compression and decompression capabilities, which are classified into the following types based on usage scenarios:
File archive compression: Supports file- and directory-level archive compression and decompression.
Streaming compression: Supports streaming data compression and decompression.
Buffer compression: Supports buffer data compression and decompression.
You can use Core File Kit in any of the following scenarios:
Sandbox isolation:
Each application has a dedicated sandbox directory in the internal storage. The sandbox directory is a collection of the application file directory and the system files required for application running. The sandbox feature stands out with the following advantages:
Application share:
Files can be shared between applications by uniform resource identifier (URI) or file descriptor (FD). The application share feature has the following advantages:
Device-cloud sync:
Supports comprehensive cloud synchronization and flexible file caching, with the following benefits:
The application file access framework is implemented through ohos.file.fs. You do not need to care about the internal implementation. For details about the basic file operation APIs, see Available APIs.
You can use the user file access framework to access and manage user files. This framework leverages the ExtensionAbility of HarmonyOS to provide a set of methods and interfaces for accessing user files.
Figure 2 User file access framework

The file access client (a system application or third-party application) can access user files, for example, select a photo or save multiple documents, by starting the FilePicker application.
FilePicker: a system prebuilt application that allows a client to select and save user files without any permission. For details, see Selecting User Files.
FileManager: You can also develop your own file picker or file manager application as required. This feature is not available to third-party applications.
The user file access framework provides the following functional modules:
Some capabilities of this Kit are not supported on the Emulator, as described below.
For details, please refer to Differences Between the Emulator and the Real Device.