i get com port open failed message when trying to open a file