# List Folder Contents[¶](https://doc.dataiku.com/dss/latest/other_recipes/list-folder-contents.html#list-folder-contents "Permalink to this headline")

The “List Folder Contents” recipe lets you list all the files contained in a folder into a dataset, along with some information about the file and possibly extracting parts of the path into extra columns.

This recipe is useful to create the input dataset for Computer vision or Image labeling from the input images folder.

## Output columns[¶](https://doc.dataiku.com/dss/latest/other_recipes/list-folder-contents.html#output-columns "Permalink to this headline")

You can select the information to retrieve about each file in the folder:

* *path* to the file in the folder

* *basename* filename without the extension

* *extension* of the file

* *last\_modified* date

* *size* of the file in bytes

## Folder level mapping[¶](https://doc.dataiku.com/dss/latest/other_recipes/list-folder-contents.html#folder-level-mapping "Permalink to this headline")

Use this mapping to output extra columns containing the name of specific levels in the folder hierarchy.

Levels start at 1 and negative levels are relative to the end of the folder hierarchy.

For example:
