 /// implementation from Swift's core libraries.
 class FileManager {
     enum Error: Swift.Error {
-        case CouldNotOpenFile
-        case Unreadable
+        case couldNotOpenFile
+        case unreadable
     }
 
     static func readBytesFromFile(_ path: String) throws -> [UInt8] {

        case GLOB_NOMATCH:
            return [ ]
        case GLOB_ABORTED:
            throw Error.Unreadable
        default:
            break
        }

        let maybeResult = realpath(path, nil)

        guard let result = maybeResult else {
            throw Error.unreadable
        }

        defer { free(result) }
