polygon file and polygon spec