Update file.rb

Image sizing