add parse_inode() function and parse file type functionality