When used with host:port, remove port to create filename