Add taxonomy terms to files
Your file would need to be fieldable. i.e. - using something like the File Entity module.

More complete media solutions exists also, like Media, Scald, or Asset exist which would provide this and more.