In the scenario where a user uploaded corrupted files and attempted to scan them using gscan, an error occurred.
Previously, in this scenario, we failed to delete the uploaded file stored locally under the uploads folder.
Issue found: The identified bug was that we were only deleting the file when the promise was successfully resolved, and in the case of an error, we were simply moving to the next middleware.
Issue fixed: To resolve this issue, a finally block has been added to ensure that uploaded files are deleted in any case.
Closes #519