Add tablenames.txt after restoring it