Set the correct glob starting directory

Set the directory of glob to the directory where the original JSON was read from.