---
title: ByteCountFormatter.CountStyle.file
framework: foundation
role: symbol
role_heading: Case
path: foundation/bytecountformatter/countstyle-swift.enum/file
---

# ByteCountFormatter.CountStyle.file

Specifies display of file byte counts. The actual behavior for this is platform-specific; in macOS 10.8, this uses the decimal style, but that may change over time.

## Declaration

```swift
case file
```

## See Also

### Constants

- [ByteCountFormatter.CountStyle.memory](foundation/bytecountformatter/countstyle-swift.enum/memory.md)
- [ByteCountFormatter.CountStyle.decimal](foundation/bytecountformatter/countstyle-swift.enum/decimal.md)
- [ByteCountFormatter.CountStyle.binary](foundation/bytecountformatter/countstyle-swift.enum/binary.md)
