fixed an issue with the base dir for FileAPI
Merge pull request #90 from danialfarid/master

fixed an issue with the base dir for FileAPI