added checks to see if files exist in lib/dotman.rb