code to open file and ask for a feature number