add files to ignore and add header to index