def METHOD_NAME(bfile, sfile, pfile):
    bunchdata = hp.File(bfile + '.h5')
    slicedata = hp.File(sfile + '.h5')
    particledata = hp.File(pfile + '.h5part')
    fig = plt.figure(figsize=(16, 16))
    ax1 = fig.add_subplot(311)
    ax2 = fig.add_subplot(312)
    ax3 = fig.add_subplot(313)
    ax1.plot(bunchdata['Bunch']['mean_x'][:])
    ax2.plot(slicedata['Slices']['mean_x'][:,:])
    ax3.plot(particledata['Step#0']['x'][:])
    #ax2.plot(slicedata[])
    plt.show()
    bunchdata.close()
    slicedata.close()
    particledata.close()