Add validator for file format, and make exporter tell where it puts the files