updated license
added file support, updated license