Gate file name regex review