Method check.

Added check on the presence of the method field in the input file headers for retrocompatibility