added bmap function, inode file_type enumuration, currently bmap return a struct but I can change it later to pass pointers as parameters