to camelCase
refactoring, use named locals
refactoring, improve readability of result logger
refactoring, abstracted naming of out files and logging to function
refactoring, grouped and organised bridges and optimisers
handle file paths with spaces later
refactoring, DRY finding files and applying optimisers to them