refactored realpath
cleaner errors
updated todo
process unc files
updated todo