WIP - Writing files to output folder