Added file input option