added multi file inputs