What is the difference between you had written and you have written?
"You had written" is used in the past perfect tense to refer to an action that was completed before another past action. "You have written" is used in the present perfect tense to indicate an action that was completed at some point in the past with relevance to the present moment.