diff --git a/SabreTools.Serialization/Wrappers/SecuROMMatroschkaPackage.Extraction.cs b/SabreTools.Serialization/Wrappers/SecuROMMatroschkaPackage.Extraction.cs
index 47b6a31e..e58bbfa3 100644
--- a/SabreTools.Serialization/Wrappers/SecuROMMatroschkaPackage.Extraction.cs
+++ b/SabreTools.Serialization/Wrappers/SecuROMMatroschkaPackage.Extraction.cs
@@ -58,7 +58,7 @@ namespace SabreTools.Serialization.Wrappers
if (includeDebug) Console.WriteLine($"Attempting to extract {filename}");
// Read the file
- var data = ReadFile(entry, includeDebug);
+ var data = ReadFileData(entry, includeDebug);
if (data == null)
return false;
@@ -91,7 +91,8 @@ namespace SabreTools.Serialization.Wrappers
/// Entry being extracted
/// True to include debug data, false otherwise
/// Byte array of the file data if successful, null otherwise
- private byte[]? ReadFile(MatroshkaEntry entry, bool includeDebug)
+ /// Marked as public because it is needed outside of file extraction
+ public byte[]? ReadFileData(MatroshkaEntry entry, bool includeDebug)
{
// Skip if the entry is incomplete
if (entry.Path == null || entry.MD5 == null)