add ignore and gather common file