takes out notes in index file to build a README file