- skip some files with specified extension
- refactroing for arguments