Add end file lines