second version: does not print correcly os.path.realpath