Filter by basename instead of whole path where appropriate
e.g. this fixes a bug when the experiment name, and hence the data
directory, has exit
in it.
e.g. this fixes a bug when the experiment name, and hence the data
directory, has exit
in it.