There are no packages in PostgreSQL, in particular there is no package UTL_FILE.
You'll have to modify your code and your table definition.
There are file access functions for reading data, the adminpack contrib module has a function to write files, and you can use PL/Perl functions to access the file system.