cut source into muliple files