better performance for unlinking files