handle https assets
addCreateFileFunc is cleaner
release 0.3.2