def METHOD_NAME(root_dir,filename,ss,ts):
    f1=root_dir+filename
    with open(f1,'r') as f:
        s=f.read()
        data=json.loads(s)
        xs,ys,xt,yt = np.array(data[ss]['x']), np.array(data[ss]['y']), np.array(data[ts]['x']),np.array(data[ts]['y'])
    xs=norm_max(xs)
    xt=norm_max(xt)
    ys=np.squeeze(ys)
    yt=np.squeeze(yt)
    ttty=min(Counter(ys).keys())
    ys=ys-ttty
    yt=yt-ttty
    return xs,ys,xt,yt