race condition between /settings and /files