A simple file registry handler