Read input from preprocessed json files instead of mongodb dumps