add read method to File model. fix base64 mime-type validator.