Works with fs implemented