I think my issue is with how I'm passing the variable from main to openFile but I'm not sure.