organize files into three directories