refactor files by removing the thumbnails and the name field, fileName still remains