Fix public read bug; include file type for asset naming