#174 Added check for has_file_field property