diff --git a/sequence_extractor/list_to_file.py b/sequence_extractor/list_to_file.py
index bd41f94b2145053b14d998652fada20c547450bc..8bca052c9f0b35b635420e0d6c72c95165762cd0 100644
--- a/sequence_extractor/list_to_file.py
+++ b/sequence_extractor/list_to_file.py
@@ -1,4 +1,16 @@
-def list_to_file(to_write_to_file,filename):
+def list_to_file(
+    to_write_to_file: str,
+    filename: str,
+) -> None:
+    """Creates a file from a list that is input to the function.
+
+    Args:
+        to_write_to_file: The list that you want to write to a file.
+        filename: The name you want the output file to have (also include the extension of the file while calling the function).
+
+    Returns:
+        Nothing, since it outputs a file directly to the working directory
+    """
     file = open(filename,'a')   
     for item in to_write_to_file:
         file.write(item)