Fix file names and figure chunks