Added support for local files