Extract parts to separate files