---
title: relatedFileNamesInSameDirectory
framework: MediaExtension
role: symbol
role_heading: Instance Property
platforms: [macOS 14.0+]
path: mediaextension/mebytesource/relatedfilenamesinsamedirectory
---

# relatedFileNamesInSameDirectory

An array of related file names in the parent directory of the byte source file.

## Declaration

```swift
var relatedFileNamesInSameDirectory: [String] { get }
```

## Discussion

Discussion The array of related files within the MEByteSource’s parent directory that are accessible to the MEByteSource. Only the relative file names are returned, not the paths. Only files with file extensions listed in the kMEFormatReaderFileNameExtensionArrayKey array in the format reader property list will be returned. If no related files are available, returns an empty array.

## See Also

### Inspecting a byte source

- [fileName](mediaextension/mebytesource/filename.md)
- [fileLength](mediaextension/mebytesource/filelength.md)
- [contentType](mediaextension/mebytesource/contenttype.md)
