removing unnessisary files from printer path