Revert "Remove unused utils.deleteFile"

This reverts commit 9b34e1b1c8effeee70fc0dab37f270e235d2ed6b.