learning file input fixed