add fileInput method