add pdf files recording intermediate results