on notepad startup, when loading previous opened files, not checking if they are still files (and not directories).

steps:

open notepad
create new file and save it "file"
close notepad

delete that file "file"
create a directory with the same name as the file "file"
open notepad -> crash.

Keep up the great work !
Alexander Kruman