Painfull error with test and -f