added “nice file input”