Move conversion path updates to own function.

Also uses the files in folder generator function.