create magic sample file for commonjs projects