Support instantiation
Use instance variables
Use an instance variable
Fix a extname format as File.extname

png ->
.png
^