fixed import and string error
formated and added debugging
forgot to start the timers for refreshing
fixed error and add check to ensure that the file is completely removed
if it has no peers
got it working it now properly deletes the files if they time out and
have no peers