Remove not needed files and their not needed functions (windows)