Renamed 'file' to prevent potential conflicts
Improved Code Generation for edge cases
Wrapped version of The MIT License