Turn code in [`R/diagnostics.R`](https://github.com/thefaylab/hydra_diag/blob/main/R/diagnostics.R) into a function that takes as input arguments the paths to the files for a particular run of hydra.