added simple evaluation for file input