Minor change: using only the first page and returning directly the
generated pdf, there is no need to copy it and add since it is only one
file