Renamed all instances of image to file
Removed @access docs
Changed exceptions to InvalidArgumentException
4.0.1