Bug fix: Cannot add files in multiple times