add debug log while loading dir/files