Dealing with files that do not exists

Dan,
I've add some rather ugly code to deal with files that do not exist.

Dave