File splitting script