make input/File chainable