no hardcoded files
Dealing with edge cases
Reusing an earlier function