diff --git a/Fmod5Sharp/BitStreams/BitStream.cs b/Fmod5Sharp/BitStreams/BitStream.cs
index c48fe4f..4e3128a 100644
--- a/Fmod5Sharp/BitStreams/BitStream.cs
+++ b/Fmod5Sharp/BitStreams/BitStream.cs
@@ -151,7 +151,7 @@ public static BitStream Create(byte[] buffer, Encoding encoding, bool MSB = fals
/// File path
/// Encoding of the file, if null default will be used
///
- public static BitStream CreateFromFile(string path, Encoding encoding = null)
+ public static BitStream CreateFromFile(string path, Encoding? encoding = null)
{
if (!File.Exists(path))
{