fixed  file behavior