fp/m/add: Implemented directories_target_recursive method