Create bundle file if necessary