fixed extra-files processing