Almost working, needs lots of refactoring

Method for parsing the dir and re-naming is working, but the code needs
 a lot of work. Need to re-factor the except block, and move the complex
  functions out of iterate over list