Removing most calls of lsof