add extensions(function, input_get, input_post)

practice file IO