changed to open file of any type