Open File function in archive, improve doc, improve CLI test