Added input file constraints