parameter file and header of potential file are read correctly