Split the base file in relevant pieces