C5YXBVXHVYE5WZMMRMYFKJFXNRDVFZUQOZB27TZIMPOIEFWBWUPAC liftIO $ withFile filename ReadMode(\filehandle -> docontents <- hGetContents filehandleputStrLn contents)-- Decode from JSON to list of Al Bhed Primers-- Return the primersreturn []
result <- liftIO $ withFile filename ReadMode(ByteString.hGetContents >=> return . fromJson @Index . ByteString.fromStrict)case result ofNothing -> lift $ throwE "Unable to parse JSON into AlBhed.Index"Just x -> return x