Update doc + bugfix in same file checking

* README updated
* Use os.path.samepath to test wether filenames strings are the same
instead of direct comparison.