work with spool file
Construction in progress.