print generated file path to stdout
wrting now
writing
trimming file path string
remove tmp file