major changes

improved lsof output parsing, moved temporary files