Fix #2. Add support for local files