Apache - Files directive does not work

HI guys.
when i configure Files in this way:

<Files ~ "\.png$">     deny from all </Files> 

it works. but when defining in this way it doesn't work:

<Files /var/www/test/file.png>     deny from all </Files> 

directives are not inside Directory directive. Could someone help?