fixed file opening & column offsetting under Windows