--- description: Discover how to use Ultralytics utility functions for file-related operations including incrementing paths, finding file age, checking file size and creating directories. keywords: Ultralytics, utility functions, file operations, working directory, file age, file size, create directories --- # Reference for `ultralytics/utils/files.py` !!! note Full source code for this file is available at [https://github.com/ultralytics/ultralytics/blob/main/ultralytics/utils/files.py](https://github.com/ultralytics/ultralytics/blob/main/ultralytics/utils/files.py). --- ## ::: ultralytics.utils.files.WorkingDirectory

--- ## ::: ultralytics.utils.files.spaces_in_path

--- ## ::: ultralytics.utils.files.increment_path

--- ## ::: ultralytics.utils.files.file_age

--- ## ::: ultralytics.utils.files.file_date

--- ## ::: ultralytics.utils.files.file_size

--- ## ::: ultralytics.utils.files.get_latest_run

--- ## ::: ultralytics.utils.files.make_dirs