Fixed some file issues with windows