Extract some parts to split file