Allow controlling output file path