how do you copy a file without knowing it's binary or text???