Add file with old json and new json API