readDir return file list json object.