This is a validation not a callback. Change to `validate :check_source_file_content_type ...`