fixed - task 74: Create subdirectories for patterns when exporting
trajectory visualizations 
https://github.com/oerich/ReqtDisc/issues/issue/74

Also, I extracted the file logic from UI class