Bandwidth usage per file

I need to know the exact bandwidth used to server each file,
Does Nginx support this feature?

Posted at Nginx Forum:

I mean bandwidth used to SERVE file,

Posted at Nginx Forum:

I have a module to measure the bandwidth of based of the accounting_id
set
in the config file.

http {
http_accounting on;

server / {

location /path/to/myfile {
    http_accounting_id  "myfile";

    ....
}

}
}

the result is write to syslog device, you may filter the result in
syslog.

get the code from google code(
Google Code Archive - Long-term storage for Google Code Project Hosting.),
or github(GitHub - Lax/traffic-accounting-nginx-module: Monitor the incoming and outgoing traffic metrics in realtime for NGINX)

http://code.google.com/p/ltliu-ngx-http-accounting-module/