fix before/after file names