Keep in mind that if you open the file in W or A mode a UTL_FILE.get_line will give you this error: ORA-29283: invalid file operation: invalid file access [29432]