creates output if does not exist