Split pieces into separate files