plugin purgefile on windows: more simple approach