Split a file.txt in multiple packages

Ok now it works, probably was just an error with the declaration of the capacity