OpenResult enum is used for openDataFile() instead of int constants.