readdir and create are working