Read from file.
This function lets you read from a file using the values specified via the FileReadWriteType structure.