input file is now a variable, refactored dialog options