diff --git a/product/ERP5OOo/tests/testIngestion.py b/product/ERP5OOo/tests/testIngestion.py
index 25785a68371455513b4f66213a72fe108131f8fa..0e63666bfc921998a753d0f4d4cb6a8f8c5c9aee 100644
--- a/product/ERP5OOo/tests/testIngestion.py
+++ b/product/ERP5OOo/tests/testIngestion.py
@@ -37,6 +37,7 @@ from AccessControl.SecurityManagement import newSecurityManager
 from Products.ERP5Type.Utils import convertToUpperCase
 from Products.ERP5Type.tests.ERP5TypeTestCase import ERP5TypeTestCase
 from Products.ERP5Type.tests.Sequence import SequenceList
+from Products.ERP5Type.tests.utils import FileUpload
 from Products.ERP5OOo.Document.OOoDocument import ConversionError
 from Products.ERP5.Document.File import _unpackData
 from zLOG import LOG, INFO, ERROR
@@ -59,21 +60,13 @@ def printAndLog(msg):
   ZopeTestCase._print('\n ' + msg)
   LOG('Testing... ', 0, msg)
 
-class FileUploadTest(file):
-
-  __allow_access_to_unprotected_subobjects__=1
-
-  def __init__(self, path, name):
-    self.filename = name
-    file.__init__(self, path, 'rb')
-    self.headers = {}
 
 def makeFilePath(name):
   return os.path.join(TEST_FILES_HOME, name)
 
 def makeFileUpload(name):
   path = makeFilePath(name)
-  return FileUploadTest(path, name)
+  return FileUpload(path, name)
 
 class TestIngestion(ERP5TypeTestCase):
   """