Support inputs and files.