Fixing error: 'module' object has no attribute 'from_file'
Fix AttributeError: 'module' object has no attribute 'from_file'