Added Input file Added
Keybaord method is Input file
Fixed potential bug