Added dynamic file separator instead of static windows file separator