Ensuring directory of learnt files