added warn=false to readLines to avoid warning message for json files without eof newlines