Fixed bug: Unable to delete file from the root dir