why is this in File and not in the Image class?