only valid specifications in text file