breaks the file in to packets