addFile(img): add spinner to local files
Merge pull request #318 from Yahkob/optimization

addFile(img): add spinner to local files