Fix file name length issue.

Resolved #121 
Added document for #160