fixed an issue with the base dir for FileAPI