Judging from a similar issue https://github.com/JuliaData/CSV.jl/issues/170 this might be a Windows issue with memory mapped files.
Doing JSON.parsefile(...; use_mmap=false) should help.
By the way, instead of cd’ing around, I would construct the filename with joinpath(root, folder, filename).