Added rewrite file name abillity

When changed element name (chunk, snippet…) file name will also changed
Fix comments