Added support to open local files.