Added the GetFileType function and NO_ERROR constant.