handle no filename on resource