Squash NPE in Producer
Allow producer to take external files as input