iOS : Add isFile and isDirectory support

Jira Tickets TIMOB-12414 and TIMOB-2181