File generation helper tool