You can use the TEXT_IO built-in package to read/wrtie files from reports.