Fixing PDF directory structure