Ghost Files existing on cam

Hi,

On my openmv camera, I had put some tflite files onto it which I moved to the bin, but it will not let me replace it with new files as it is out of storage. Is there a way to reset the camera in this way? I tried running this code but it didn’t do much:

# Untitled - By: ethanlee - Thu Jul 14 2022

import sensor, image, time
import pyb
import machine

pyb.hard_reset()

machine.reset()



sensor.reset()
sensor.set_pixformat(sensor.RGB565)
sensor.set_framesize(sensor.QVGA)
sensor.skip_frames(time = 2000)

clock = time.clock()

while(True):
    clock.tick()
    img = sensor.snapshot()
    print(clock.fps())

That just resets the processor. You need to delete the files on the disk. However, windows might not have actually deleted them but put them into recycling. So, you need to empty that in order to commit the delete.