added protection against files have text attached to numbers; i.e. 25_Rat is bad, flag and accept numeric only