clean white space
change 'exists' to a more general condition
consistent use of os.path. isdir, isfile and exists
add CONTRIBUTING guidelines