Remove and ignore unecessary files in remote.