quick and dirty hack to avoid modifying data when no magic file