added directory handling methods