prefer `if (_files.isEmpty)` here. There's also a `List.isNotEmpty`, for the opposite condition.