Powershell script to perform housekeeping on files