datrestore function

Rename homogen's output files