Add comments and return type to the choose folder action.
Using File output without a buffered stream.