%p to output and expand full file path