Factor out import filtering
Clean up
Clean up
Improve variable name
Separate checking
Add checking for unused variables
Implement filter_unused_variable
Add "--remove-unused-variables" option