Implemented directory load for windows