rename file, add footer