Moved export for readfile.