diff --git a/ExtractTable/FileOperations/__init__.py b/ExtractTable/FileOperations/__init__.py
index 419301b..6b856a2 100644
--- a/ExtractTable/FileOperations/__init__.py
+++ b/ExtractTable/FileOperations/__init__.py
@@ -58,7 +58,7 @@ def pdf_separator(self, gather_pages: set):
         """PDF Splitter"""
         merged_pdf = os.path.join(self.temp_dir, str(self.pages) + "_" + os.path.basename(self.filepath))
         with open(merged_pdf, 'wb') as out_file:
-            pdf_reader = PyPDF2.PdfFileReader(self.filepath)
+            pdf_reader = PyPDF2.PdfReader(self.filepath)
             pdf_writer = PyPDF2.PdfFileWriter()
             for page in gather_pages:
                 try: