Using json as a local file