Fix a bug in doxygen causing missing tutorials

The tutorial steps were missing in the online documentation.
This bug fix makes them reappear by creating the string of input directories and files only after the list has been competed.