a trivial file switch