Fixed/optimized trashing procedure to work with -m --maxfiles