cleanup dir.c
opening a REL file works on fs_provider