JSON extractor working fine for files