removes unneccessary files from gui