Removing useless directories and files