First of all, keep in mind that you can only read/write files using UTL_FILE package in Server-side ( Unix, NT server etc ). We are not clear if you are trying in ( drive d:\loadstudent) is a PC or NT server.

In local drive of ur desktop you cannot use UTL_FILE.

Thanks,
AD