Making compatible both for Unix & Window based directory structure