make file_inputs a hash so we can remove keys from it