add file interface
Merge pull request #3 from muayyad-alsadi/master

implement file-based api