add getPathByte
implement HandleFile