remove .* and _* except _metadata