Adds support for file inputs