Fixes #247 - Add id attribute to file elements