fixed reading of files in windows
removed redundant print