That all depends on what you mean by "a file"
Industry standard DATA files such as JPG pictures are independent of program version
Proprietary PROJECT files such as a Premiere Pro video project file are very much dependent on program version
Also, program specific data files such as an InDesign file are dependent on program version, since newer programs often have features not supported in older versions
So... just what do you mean by a file?