added the feature to skip files in output generation