Removed rpsec infer_spec_type_from_file_location