If the Stat command is passed a non-valid pathname or the file does not exist, an exception is thrown. For example in the Open Project Dialog (FSelector), if a name is entered in the project line which doesn't exist, the whole IDE crashes. Wouldn't it be better for an invalid file type to be returned for File.Type - which could then be tested? Nigel