Map files to puppet resources and back