Correct error/alert displaying. Also remove redundant log_errror since file_notice does that by its own