file protocol fix
refactoring file protocol
refactoring file protocol
Merge pull request #13 from dkrnl/master

merge