A mess of python for handling some unusual file management tasks.