simplify file store path calculations