account for the fact that no extension is added for POTCAR files