extract footer part to separate files