Fix memory leak on large input files.
remove DEL method on object.
fix failing tests