add support for local files