Split out files using potemkin.