if no weight file provided, returns null values