Fixed issue with showing dirs for keyfiles