That rather depends what you want to do in such a situation, what would cause it, whether it is a supported user action, should the user be told, etc, etc
In the code you have shown you aren't actually doing anything with the file.
uigetfile should not generally return files that don't exist so unless you delete the file between uigetfile and using it the file should be valid shouldn't it?
