Made file i/o path system independent