Fix for windows load from file