Returns a data object initialized by reading into it the data from the file specified by a given path.
- iOS 2.0+
- macOS 10.0+
- tvOS 9.0+
- watchOS 2.0+
The absolute path of the file from which to read data.
A data object initialized by reading into it the data from the file specified by
path. The returned object might be different than the original receiver.
This method is equivalent to
init(contents with no options.