Sometimes a piece of work (let's say a file) is not necessary anymore. For example, a perl script that was used to perform a certain action is not used anymore because the action is deemed useless now.
I don't like keeping useless stuff around so I usually delete the file, knowing that I can always get it back later from my repository history.
But sometimes, looking ahead, it's possible to guess that the now unnecessary feature will be needed again at some point in the future. And when that happens I won't be happy to go fish all the discarded files in my repository history.
What do you recommend for cases like this?