Added file object to the selected elements