fix bsGetLen
add a basic static file handler