added file dialog buttons, now you can change source and output files