WIP: rewriting stamp.File