Update file plugin to fix config file not being saved