fileName is a string containing the full path
of the file. This path is referenced from the current directory.
For more information about this see the command Set
Directory.
type is a 4 character string containing the type of
the file.
If for any reason the command
type could not be found then this command causes an error.