diff --git a/sequence_extractor/list_to_file.py b/sequence_extractor/list_to_file.py
index 8bca052c9f0b35b635420e0d6c72c95165762cd0..27543db36800a4c6e0317c1812b06c7c9e7e887a 100644
--- a/sequence_extractor/list_to_file.py
+++ b/sequence_extractor/list_to_file.py
@@ -1,5 +1,5 @@
 def list_to_file(
-    to_write_to_file: str,
+    to_write_to_file: list,
     filename: str,
 ) -> None:
     """Creates a file from a list that is input to the function.