0.5 fix include existing file lines

fix bug: candycane build on Travis CI failed to generate a valid json_file.