Amazon Interview Question

They asked to implement a linux like api that filers docs by their type, and more future features