if your above program would work it would try
framerate: 60 times per second
for loop : 60000 files ( if all exist )
that would be 3.600.000 times file load and draw per second.
you would need a much better computer…
your last info sounds more like:
show one ( of 60000 ) pictures
until keypressed select a other one. ( next or random? )
pls not use delay() inside draw…