Instead of removing them from the list, just set the 'hidden' property accordingly.
Attach a file by drag & drop or click to upload