Move the cainteoir_file_reader out into a separate file.