remove hw dir | add content to index file.