cpktool: file util