need a better way to clean out files
another failed attempt
another mistake
wrong but closer!!!