Added a new variable to customize the name of input file

@wender Just added a new variable to treat the problem with name of input for file.