found the issue for local files, added some examples