made the add-files call
made the untrack files call
cleaned up code
made the add-dirs call
fixed for loops
made add tagnames call
made file ok method
not using strict and the new file ok method