Here’s my template for an acknowledgment letter for a job application.
To (applicant name)
Thank you for your interest in employment opportunities at (company name). Unfortunately, the position has already been filled. However, we will file your application for potential review for (x number) months. Should a suitable position become available in the future, we may get in touch with you.