Wrap any file link within a .files element to automatically prepend a filetype icon.
Markup must be: i.X, wrapped within a .files container, where X is a class name. Supported standalone icons are listed below (see source code for supported classes).
As a bonus, folder icons are included. Markup is the same as the standalone icons above.