Modified to enable for local files
Merge pull request #11 from setomits/master

Modified to enable for local files