Fixed bug when adding files through singleton