created getter to get hidden directory