This lightweight LaTeX2e pack­age pro­vides two en­vi­ron­ments called `file­con­tents­def` and `file­con­tentshere` They are de­rived from the LaTeX `file­con­tents` en­vi­ron­ment as ex­tended by Scott Pakin's [file­con­tents]  pack­age In ad­di­tion to the file cre­ation they ei­ther store the (ver­ba­tim) con­tents in a macro (`file­con­tents­def`) or type­set them (ver­ba­tim) on the spot (`file­con­tentshere`)