add license
error message for file open fail
add coms