How to password protect an html file

I am trying to password protect an html file on my site. I have created an .htpasswd file and have put an encrypted UN and PW in it. I then added this code to my .htaccess file to password protect one of my pages.

AuthUserFile /public_html/mysitename.com/.htpasswd
AuthType Basic
AuthName “My Secret Page”

<Files “my-file-name.html”>
Require valid-user
</Files>

It doesn’t do anything. Should this code work and if so what am I doing wrong?