plot_diagram moved
Move to raw file access