add file driver config can be save like the database

add file driver config can be save like the database
this should probably check for `is_writable` first.