Add file persistence feature