split the rawfile into chunks