open file from json option spec.file