Add File input to api