Add id attribute to file elements