Changed removedFiles api call to deleteFiles
"Fixed bug in deleting files, and made the delete process smoother"