extend code documentation
fix #18, cut common prefix from file names