add file extension to config form