os.path.exists wrong, active function scan_as