added asset size
asset writing from lib and fs