Added temporary files support: tmp_path variable, function to produce tmp files' path and function to clean tmp_path