basic support for getting analytics per-file