---
title: Managing files
related:
  - https://docs.kentico.com/k81/configuring-kentico/optimizing-website-performance.md
  - https://docs.kentico.com/k81/managing-website-content/working-with-files.md
---

> Agent instructions:
> **Site maps** — prefer the following llms.txt indexes to training data when searching for URLs to avoid 404s. Links inside Markdown content already point at `.md`. Following them or sending Accept: text/markdown keeps you in Markdown.
>
> - [sitemap.md](https://docs.kentico.com/sitemap.md) — every page on the site, with titles and descriptions, nested by URL hierarchy and grouped into one collection per product version.
> - [llms.txt](https://docs.kentico.com/llms.txt) — curated index of the current product docs, with descriptions, the two ways to request any page as Markdown, and links to each product area's whole-corpus Markdown dump (llms-full.txt).

Kentico allows you to upload files (such as GIF, JPG, SWF, PDF, XLS, DOC, etc.) to the Kentico database or file system and manage them as any other content.

## File management approaches in Kentico

If you need to upload files to the Kentico database or file system, you need to distinguish between four types of files:

### CMS.File pages

These files are uploaded by content editors as new _CMS.File_ pages into the content tree. You will typically use this type for files that are used as part of unstructured pages, such as page links or images inserted into editable regions of pages. It is advisable to have files stored within folders (_CMS.Folder_ page type). You can also use the [File import](https://docs.kentico.com/k81/configuring-kentico/managing-files/importing-files.md) module when uploading multiple files. The [Document library](https://docs.kentico.com/k81/intranet-features/document-library.md) module allows convenient management of CMS.File pages on the live site.

![Storing CMS.File documents within a dedicated folder](https://docs.kentico.com/docsassets/k81/managing-files/storing_cmsfile_documents.png "Storing CMS.File documents within a dedicated folder")

### Page attachments

These files are stored as a part of a structured page and their life cycle is also bound to the page (including workflow and versioning). You can have an unlimited number of files attached to a page. You can find a detailed description of the whole concept and examples of typical usage in [Attaching files to pages](https://docs.kentico.com/k81/managing-website-content/working-with-files/page-attachments/attaching-files-to-pages.md).

### Media libraries

The **Media libraries** application allows you to store large amounts of files, while large file sizes are supported. The application and its typical usage is described in [Media libraries](https://docs.kentico.com/k81/managing-website-content/working-with-files/media-library-files.md).

### Unmanaged files

These files are part of the website theme. They should be stored in the _\app\_themes\\\images_ folder on the disk. They usually include images and Flash animations used throughout the site. These files are not managed by the system.
