output pdf files on the same directory (WIP)