Fix file path with epochs