Support local files, closes #31